.index-main nav {
  align-items: center;
  height: .4rem;
  font-size: .14rem;
  padding: 0 .12rem;
  background: #fff;
}
.index-main nav a {
  text-align: center;
  display: inline-block;
  flex: 1;
  line-height: .4rem;
  color: #121212;
}
.index-main nav a.active {
  color: #5f3104;
  border-bottom: 2px solid #5f3104;
}
.index-main .main {
  width: 100%;
}
.index-main .main > div {
  width: 100%;
  display: none;
}
.index-main .main > div.active {
  display: block;
}
.index-main .main .main-1 {
  padding-top: 3px;
}
.index-main .main .main-1 > img {
  margin-top: .08rem;
  width: 100%;
  height: 1.6rem;
}
.index-main .main .main-2 ul {
  padding-top: .08rem;
  padding-bottom: .7rem;
}
.index-main .main .main-2 li {
  box-shadow: #eee 1px 1px 1px 1px;
  position: relative;
  margin: 0 auto;
  background: #fff;
  width: 3.51rem;
  padding: .08rem;
  box-sizing: border-box;
}
.index-main .main .main-2 li .main-2-1 {
  justify-content: space-between;
  align-items: center;
  margin-bottom: .08rem;
}
.index-main .main .main-2 li .main-2-1 span {
  margin-left: .61rem;
  font-size: .1rem;
  color: rgba(18, 18, 18, 0.9);
}
.index-main .main .main-2 li .main-2-1 em {
  float: right;
  background: #f00;
  width: .45rem;
  line-height: .24rem;
  text-align: center;
  font-size: .08rem;
  color: #fff;
}
.index-main .main .main-2 li .product {
  width: 3.35rem;
  height: 1.6rem;
}
.index-main .main .main-2 li .user {
  position: absolute;
  width: .44rem;
  height: .44rem;
  top: .08rem;
  left: .2rem;
  z-index: 1;
  border-radius: 50%;
  border: 3px solid #fff;
}
.index-main .main .main-2 li .main-2-2 {
  box-sizing: border-box;
  padding: 0 .08rem;
  position: absolute;
  bottom: .04rem;
  left: 0;
  right: 0;
  font-size: .12rem;
  color: #fff;
  background: url('../img/bg@2x.png') no-repeat center;
  background-size:cover;
  width: 3.35rem;
  line-height: .3rem;
}
.index-main .main .main-2 li .main-2-3 {
  margin-bottom: .12rem;
  font-size: .12rem;
  color: rgba(18, 18, 18, 0.9);
}
.index-main .main .main-2 li .spans {
  background: url('../img/热度 01@2x.png') no-repeat left;
  background-size: .1rem .13rem;
  color: #fff;
  position: absolute;
  top: .12rem;
  right: .12rem;
  padding-left: .14rem;
  color: red;
}
.index-main .main .main-2 li .spans2 {
  background: url('../img/热度 02@2x.png') no-repeat left;
  background-size: .1rem .13rem;
  color: #fff;
  position: absolute;
  top: .12rem;
  right: .12rem;
  padding-left: .14rem;
  color: red;
}
.index-main .main .main-2 li .main-2-4 {
  justify-content: flex-end;
  font-size: .16rem;
  color: rgba(18, 18, 18, 0.25);
}
.index-main .main .main-2 li .main-2-4 span {
  padding-left: .16rem;
  background: url('../img/热度 02@2x.png') no-repeat left;
  background-size: .1rem;
}
.index-main .main .main-2 li .main-2-4 em {
  margin-left: .16rem;
  padding-left: .16rem;
  background: url('../img/收藏 02@2x.png') no-repeat left;
  background-size: .14rem;
}
.index-main .main .main-2 li .main-2-4 i {
  margin-left: .16rem;
  padding-left: .16rem;
  background: url('../img/分享 02@2x.png') no-repeat left;
  background-size: .1rem;
}
.index-main .main .main-3 ul li {
  box-shadow: #eee 1px 1px 1px 1px;
  background: #fff;
  padding: .08rem;
  width: 3.35rem;
  display: block;
  margin: 0 auto;
  position: relative;
}
.index-main .main .main-3 ul li img {
  width: 3.35rem;
  height: 2.5rem;
  display: block;
  margin: 0 auto;
}
.index-main .main .main-3 ul li .bt {
  position: absolute;
  bottom: .61rem;
  left: 0.08rem;
  right: 0.08rem;
  background: url(../img/文本框@2x.png) no-repeat center;
  font-size: .12rem;
  color: #ffffff;
  line-height: .3rem;
  box-sizing: border-box;
  padding: 0 .12rem;
}
.index-main .main .main-3 ul li .p1 {
  font-size: .11rem;
  margin-top: .08rem;
}
.index-main .main .main-3 ul li .p1 span {
  color: #ff0000;
}
.index-main .main .main-4 ul {
  padding-top: .08rem;
}
.index-main .main .main-4 ul li {
  padding: 0 .12rem;
  justify-content: space-between;
  background: #fff;
  height: .64rem;
  align-items: center;
}
.index-main .main .main-4 ul li img {
  width: .36rem;
  height: .36rem;
}
.index-main .main .main-4 ul li .center {
  flex: 1;
  margin-left: .08rem;
}
.index-main .main .main-4 ul li .center .p1 {
  font-size: .14rem;
}
.index-main .main .main-4 ul li .center .p2 {
  color: rgba(18, 18, 18, 0.25);
  font-size: .1rem;
}
.index-main .main .main-4 ul li span {
  display: block;
  background: url(../img/下一步@2x.png) no-repeat center;
  background-size: contain;
  width: .09rem;
  height: .16rem;
}
.index-main .main .main-5 ul {
  padding-top: .08rem;
}
.index-main .main .main-5 ul li {
  width: 49%;
  height: 2.2rem;
  position: relative;
  float: left;
  margin-bottom: 2%;
  /*                       span{
                            background: url('../img/热度 01@2x.png') no-repeat left;
                            background-size: .1rem .13rem;
                            color: #fff;
                            position: absolute;
                            top: .12rem;
                            right: .12rem;
                            padding-left: .14rem;
                            color: red;
                        }*/
  /*    .spans{
                            background: url('../img/热度 01@2x.png') no-repeat left;
                            background-size: .1rem .13rem;
                            color: #fff;
                            position: absolute;
                            top: .12rem;
                            right: .12rem;
                            padding-left: .14rem;
                            color: red;
                        }
                        .spans2{
                            background: url('../img/热度 02@2x.png') no-repeat left;
                            background-size: .1rem .13rem;
                            color: #fff;
                            position: absolute;
                            top: .12rem;
                            right: .12rem;
                            padding-left: .14rem;
                            color: red;
                        }*/
}
.index-main .main .main-5 ul li:nth-of-type(odd) {
  margin-right: 2%;
}
.index-main .main .main-5 ul li img {
  width: 100%;
  height: 100%;
}
.index-main .main .main-5 ul li div {
  position: absolute;
  font-size: .12rem;
  bottom: 0;
  color: #fff;
  left: 0;
  right: 0;
  padding: .12rem;
  background: url(../img/文本框@2x.png) no-repeat center;
}
.index-box {
  z-index: 2;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
.index-box .top {
  background: #fff;
  width: 3.75rem;
  height: 1.13rem;
  justify-content: space-around;
  align-items: center;
  font-size: .12rem;
  color: rgba(18, 18, 18, 0.9);
  text-align: center;
}
.index-box .top img {
  width: .48rem;
  height: .48rem;
}
.index-box .bottom {
  margin-top: .08rem;
  background: #fff;
  line-height: .48rem;
  font-size: .16rem;
  color: #ff0000;
  text-align: center;
}
